import 'dart:ffi';

import 'package:flutter_nb_net/flutter_net.dart';

class FeedbackListResp extends BaseNetModel {
  int? code;
  String? msg;
  List<FeedbackListData>? data;

  FeedbackListResp({this.code, this.msg, this.data});

  @override
  fromJson(Map<String, dynamic> json) {
    return FeedbackListResp(
      code: json['code'],
      msg: json['msg'],
      data: json['data'] != null ? List<FeedbackListData>.from(json['data'].map((x) => FeedbackListData().fromJson(x))) : null,
    );
  }
}

class FeedbackListData extends BaseNetModel {
  String? createBy;
  String? createTime;
  String? updateBy;
  String? updateTime;
  String? remark;
  int? feedbackId;
  String? imei;
  int? status;
  String? contacts;
  String? subject;
  String? content;
  String? processing;

  FeedbackListData({this.createBy, this.createTime, this.updateBy, this.updateTime, this.remark, this.feedbackId, this.imei, this.status,this.contacts,this.subject,this.content,this.processing});

  @override
  fromJson(Map<String, dynamic> json) {
    return FeedbackListData(
      createBy: json['createBy'],
      createTime: json['createTime'],
      updateBy: json['updateBy'],
      updateTime: json['updateTime'],
      remark: json['remark'],
      feedbackId: json['feedbackId'],
      imei: json['imei'],
      status: json['status'],
      contacts: json['contacts'],
      subject: json['subject'],
      content: json['content'],
      processing: json['processing'],
    );
  }
}